﻿/* Style for header
-----------------------------------------------------------*/
.master-header {
    min-width: 945px;
    padding: 5px 5px 5px 5px;
    margin: 0 0 40px;
    clear: both;
    position: relative;
    -webkit-box-shadow: 0 2px 6px -4px black;
    -moz-box-shadow: 0 2px 6px -4px black;
    box-shadow: 0 2px 6px -4px black;
}

    .master-header p {
        margin-top: 0em;
        margin-bottom: 0em;
        font-size: 30pt;
        text-align: center;
        -webkit-text-shadow: 0px 0px 1px #232323;
        text-shadow: 0px 0px 1px #232323;
    }

    .master-header a {
        margin-top: 0em;
        margin-bottom: 0em;
        color: #999;
    }

/* Style for menu
-----------------------------------------------------------*/
/* Some stylesheet reset */
.master-wrapper-menu {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    display: table-cell;
    height: 100%;
}

.master-menu {
    position: fixed;
    margin: 0;
    padding-left: 20px;
    padding-right: 10px;
    float: left;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    height: 100%;
}

    .master-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        vertical-align: baseline;
        line-height: 1;
        float: left;
        position: relative;
        display: block;
        width: 200px;
    }

        /* The list elements which contain the links */
        .master-menu ul li {
            display: block;
            position: relative;
            margin: 0;
            padding: 0;
            width: 150px;
        }

            /* General link styling */
            .master-menu ul li a {
                /* Layout */
                display: block;
                position: relative;
                margin: 0;
                border-top: 1px dotted #3a3a3a;
                border-bottom: 1px dotted #1b1b1b;
                padding: 11px 20px;
                width: 110px;
                /* Typography */
                font-family: Helvetica, Arial, sans-serif;
                color: #d8d8d8;
                text-decoration: none;
                text-transform: uppercase;
                -webkit-text-shadow: 0 1px 1px #000;
                text-shadow: 0 1px 1px #000;
                font-size: 13px;
                font-weight: 300;
                /* Background & effects */
                background: #282828;
            }

            /* Rounded corners for the first link of the menu/submenus */
            .master-menu ul li:first-child a {
                border-top-left-radius: 4px;
                border-top-right-radius: 4px;
                border-top: 0;
            }

            /* Rounded corners for the last link of the menu/submenus */
            .master-menu ul li:last-child a {
                border-bottom-left-radius: 4px;
                border-bottom-right-radius: 4px;
                border-bottom: 0;
            }

            /* The hover state of the menu/submenu links */
            .master-menu ul li a:hover {
                color: #fff;
                -webkit-text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
                text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
                background: #f23f37;
                background: -webkit-linear-gradient(bottom, #f23f37, #f45d57);
                background: -ms-linear-gradient(bottom, #f23f37, #f45d57);
                background: -moz-linear-gradient(bottom, #f23f37, #f45d57);
                background: -o-linear-gradient(bottom, #f23f37, #f45d57);
                border-color: transparent;
            }

        /* The arrow indicating a submenu */
        .master-menu ul .master-menu-hassub > a::after {
            content: '';
            position: absolute;
            top: 16px;
            right: 10px;
            width: 0px;
            height: 0px;
            /* Creating the arrow using borders */
            border: 4px solid transparent;
            border-left: 4px solid #d8d8d8;
        }

        /* The same arrow, but with a darker color, to create the shadow effect */
        .master-menu ul .master-menu-hassub > a::before {
            content: '';
            position: absolute;
            top: 17px;
            right: 10px;
            width: 0px;
            height: 0px;
            /* Creating the arrow using borders */
            border: 4px solid transparent;
            border-left: 4px solid #000;
        }

        /* Changing the color of the arrow on hover */
        .master-menu ul li a:hover::after {
            border-left: 4px solid #fff;
        }

        .master-menu ul li > a:hover::before {
            border-left: 4px solid rgba(0, 0, 0, .3);
        }

        /* THE SUBMENUS */
        .master-menu ul ul {
            position: absolute;
            left: 150px;
            top: -9999px;
            padding-left: 5px;
            opacity: 0;
            /* The fade effect, created using an opacity transition */
            -webkit-transition: opacity .3s ease-in;
            -moz-transition: opacity .3s ease-in;
            -o-transition: opacity .3s ease-in;
            transition: opacity .3s ease-in;
        }

        /* Showing the submenu when the user is hovering the parent link */
        .master-menu ul li:hover ul {
            top: 0px;
            opacity: 1;
        }

.master-wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

.master-wrapper-content {
    width: 800px;
    min-width: 800px;
    display: table-cell;
    height: 100%;
}

.master-content {
    min-height: 400px;
    max-width: 1000px;
    width: 90%;
    float: left;
    margin-bottom: 50px;
}

body {
    font-size: .85em;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    color: #232323;
    margin: 0px;
    background-color: #ddd;
}

pre {
    max-width: 1000px;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

/* Style for Footer
-----------------------------------------------------------*/
.master-footer {
    width: 100%;
    min-width: 945px;
    padding-top: 0.5px;
    padding-bottom: 0.5px;
    position: relative;
    clear: both;
    background-color: #cfcfcf;
    margin-top: 0em;
    margin-bottom: 0em;
    -webkit-box-shadow: inset 0 2px 8px -5px black;
    -moz-box-shadow: inset 0 2px 8px -5px black;
    box-shadow: inset 0 2px 8px -5px black;
}

.login-footer {
    width: 100%;
    min-width: 945px;
    padding-top: 0.5px;
    padding-bottom: 0.5px;
    position: absolute;
    bottom: 0;
    background-color: #cfcfcf;
    margin-top: 0em;
    margin-bottom: 0em;
    -webkit-box-shadow: inset 0 2px 8px -5px black;
    -moz-box-shadow: inset 0 2px 8px -5px black;
    box-shadow: inset 0 2px 8px -5px black;
}

    .master-footer p, .login-footer p {
        font-size: 12pt;
        text-align: center;
    }

/* Style for Tables
-----------------------------------------------------------*/
.master-content table {
    background-color: #efefef;
    margin-bottom: 30px;
    *border-collapse: collapse; /* Для IE7 и меньше */
    border-spacing: 0;
    width: 100%;
}

    .master-content table.bordered {
        border: solid #ccc 1px;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        border-radius: 6px;
        -webkit-box-shadow: 0 1px 1px #ccc;
        -moz-box-shadow: 0 1px 1px #ccc;
        box-shadow: 0 1px 1px #ccc;
    }

        .master-content table.bordered tr:hover {
            background: #fbf8e9;
            -o-transition: all 0.1s ease-in-out;
            -webkit-transition: all 0.1s ease-in-out;
            -moz-transition: all 0.1s ease-in-out;
            -ms-transition: all 0.1s ease-in-out;
            transition: all 0.1s ease-in-out;
        }

        .master-content table.bordered td, .bordered th {
            border-left: 1px solid #ccc;
            border-top: 1px solid #ccc;
            padding: 10px;
        }

            /*Vertical header for first column (Profile info)*/
            .master-content table.bordered td.vertical-header {
                font-weight: bold;
                width: 150px;
                text-align: right;
                background-color: #dce9f9;
                -webkit-text-shadow: 0 1px 0 rgba(255,255,255,.5);
                text-shadow: 0 1px 0 rgba(255,255,255,.5);
            }

            /*Detail column in a table (any lists)*/
            .master-content table.bordered td.column-detail {
                width: 100px;
            }

            /*Delete column in a table (any lists)*/
            .master-content table.bordered td.column-delete {
                width: 80px;
            }

        .master-content table.bordered th {
            text-align: center;
            background-color: #dce9f9;
            background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9));
            background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);
            background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9);
            background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9);
            background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9);
            background-image: linear-gradient(top, #ebf3fc, #dce9f9);
            -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
            -moz-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
            box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
            border-top: none;
            -webkit-text-shadow: 0 1px 0 rgba(255,255,255,.5);
            text-shadow: 0 1px 0 rgba(255,255,255,.5);
        }

        .master-content table.bordered td:first-child, .bordered th:first-child {
            border-left: none;
        }

        .master-content table.bordered th:first-child {
            -moz-border-radius: 6px 0 0 0;
            -webkit-border-radius: 6px 0 0 0;
            border-radius: 6px 0 0 0;
        }

        .master-content table.bordered th:last-child {
            -moz-border-radius: 0 6px 0 0;
            -webkit-border-radius: 0 6px 0 0;
            border-radius: 0 6px 0 0;
        }

        .master-content table.bordered tr:last-child td:first-child {
            -moz-border-radius: 0 0 0 6px;
            -webkit-border-radius: 0 0 0 6px;
            border-radius: 0 0 0 6px;
        }

        .master-content table.bordered tr:last-child td:last-child {
            -moz-border-radius: 0 0 6px 0;
            -webkit-border-radius: 0 0 6px 0;
            border-radius: 0 0 6px 0;
        }

    .master-content table .Center {
        text-align: center;
    }

.master-content .common-btn {
    padding: 5px 10px;
    margin-bottom: 0px;
    margin-top: 0px;
    font-family: 'Bree Serif', serif;
    font-weight: 200;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    -webkit-text-shadow: 0px 1px 0 rgba(0,0,0,0.25);
    text-shadow: 0px 1px 0 rgba(0,0,0,0.25);
    border-radius: 5px;
    cursor: pointer;
    -moz-box-shadow: inset 0 0 2px rgba(255,255,255,0.75);
    -webkit-box-shadow: inset 0 0 2px rgba(255,255,255,0.75);
    box-shadow: inset 0 0 2px rgba(255,255,255,0.75);
}

.common-btn-large {
    padding: 11px 25px;
    font-family: 'Bree Serif', serif;
    font-weight: 300;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    -webkit-text-shadow: 0px 1px 0 rgba(0,0,0,0.25);
    text-shadow: 0px 1px 0 rgba(0,0,0,0.25);
    border-radius: 5px;
    cursor: pointer;
    -moz-box-shadow: inset 0 0 2px rgba(255,255,255,0.75);
    -webkit-box-shadow: inset 0 0 2px rgba(255,255,255,0.75);
    box-shadow: inset 0 0 2px rgba(255,255,255,0.75);
}

    .common-btn.BlueColor, .common-btn-large.BlueColor {
        background: #56c2e1;
        border: 1px solid #46b3d3;
    }

        .common-btn.BlueColor:hover, .common-btn-large.BlueColor:hover {
            background: #3f9db8;
            border: 1px solid rgba(255,255,255,0.75);
            -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
            -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
        }

        .common-btn.BlueColor:focus, .common-btn-large.BlueColor:focus {
            position: relative;
            bottom: -1px;
            background: #56c2e1;
            -moz-box-shadow: inset 0 1px 6px rgba(255,255,255,0.75);
            -webkit-box-shadow: inset 0 1px 6px rgba(255,255,255,0.75);
            box-shadow: inset 0 1px 6px rgba(255,255,255,0.75);
        }

    .common-btn.RedColor, .common-btn-large.RedColor {
        background: #e15656;
        border: 1px solid #d34646;
    }

        .common-btn.RedColor:hover, .common-btn-large.RedColor:hover {
            background: #b83f3f;
            border: 1px solid rgba(255,255,255,0.75);
            -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
            -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
        }

        .common-btn.RedColor:focus, .common-btn-large.RedColor:focus {
            position: relative;
            bottom: -1px;
            background: #e15656;
            -moz-box-shadow: inset 0 1px 6px rgba(255,255,255,0.75);
            -webkit-box-shadow: inset 0 1px 6px rgba(255,255,255,0.75);
            box-shadow: inset 0 1px 6px rgba(255,255,255,0.75);
        }

/* Style for Tabs!
-----------------------------------------------------------*/
.master-tab-wrap {
    border: 0;
    padding: 0;
    display: inline-block;
    list-style: none;
    background-image: -webkit-linear-gradient(top, #fefefe, #e1e1e1);
    background-image: -moz-linear-gradient(top, #fefefe, #e1e1e1);
    background-image: -o-linear-gradient(top, #fefefe, #e1e1e1);
    background-image: -ms-linear-gradient(top, #fefefe, #e1e1e1);
    background-image: linear-gradient(top, #fefefe, #e1e1e1);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#fefefe', EndColorStr='#e1e1e1');
    margin-top: 20px;
    border: 1px solid #cecece;
    -webkit-box-shadow: inset 0px 1px 0px #fff, 0px 1px 2px rgba(0,0,0,.06);
    -moz-box-shadow: inset 0px 1px 0px #fff, 0px 1px 2px rgba(0,0,0,.06);
    box-shadow: inset 0px 1px 0px #fff, 0px 1px 2px rgba(0,0,0,.06);
    -moz-border-radius: 8px 8px 8px 8px;
    -webkit-border-radius: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
}

    .master-tab-wrap li {
        height: 30px;
        float: left;
        margin: 0;
        border-right: 1px solid #d8d8d8;
        border-left: 1px solid #ffffff;
    }

        .master-tab-wrap li:first-child {
            border-left: none;
        }

        .master-tab-wrap li:last-child {
            border-right: none;
        }

        .master-tab-wrap li a {
            text-decoration: none;
            font-family: 'Helvetica Neue', Helvetica, sans-serif;
            font-size: 12px;
            font-weight: bold;
            color: #666666;
            text-shadow: 0px 1px 0px #ffffff;
            display: block;
            padding: 0 2em;
            text-align: center;
            line-height: 28px;
            cursor: pointer;
        }

        .master-tab-wrap li.master-tab-pushed {
            background-image: -webkit-gradient(linear,left top, left bottom,from(#e1e1e1),to(#fefefe));
            background-image: -webkit-linear-gradient(top,#e1e1e1,#fefefe);
            background-image: -moz-linear-gradient(top,#e1e1e1,#fefefe);
            background-image: -o-linear-gradient(top,#e1e1e1,#fefefe);
            background-image: linear-gradient(top,#e1e1e1,#fefefe);
            -moz-box-shadow: 1px 1px 8px rgba(0,0,0,.2) inset;
            -webkit-box-shadow: 1px 1px 8px rgba(0,0,0,.2) inset;
            box-shadow: 1px 1px 8px rgba(0,0,0,.2) inset;
        }

            .master-tab-wrap li.master-tab-pushed:first-child {
                border-right: none;
                -moz-border-radius: 8px 0 0 8px;
                -webkit-border-radius: 8px 0 0 8px;
                border-radius: 8px 0 0 8px;
            }

            .master-tab-wrap li.master-tab-pushed:last-child {
                border-left: none;
                -moz-border-radius: 0 8px 8px 0;
                -webkit-border-radius: 0 8px 8px 0;
                border-radius: 0 8px 8px 0;
            }

.search-input {
    width: 400px;
    padding: 15px 25px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #9d9e9e;
    -webkit-text-shadow: 1px 1px 0 rgba(255,255,255,1.0);
    text-shadow: 1px 1px 0 rgba(255,255,255,1.0);
    background: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
    -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/* Style for Error pages
-----------------------------------------------------------*/
.master-httperror {
    text-align: center;
}

    .master-httperror p.master-httperror-message {
        color: #808080;
        font-size: 14pt;
        font-weight: 100;
    }

    .master-httperror p.master-httperror-caption {
        font-size: 200pt;
        margin-top: 0.4em;
        margin-bottom: 0em;
        color: #56c2e1;
        -webkit-text-shadow: 1px 1px 10px rgba(150, 150, 150, 1), -1px -1px 2px rgba(150, 150, 150, 1);
        text-shadow: 1px 1px 10px rgba(150, 150, 150, 1), -1px -1px 2px rgba(150, 150, 150, 1);
    }

/* Styles for basic forms
-----------------------------------------------------------*/
.login-form {
    width: 300px;
    margin: 0 auto;
    position: relative;
    padding: 30px 30px 25px 30px;
    background: #f3f3f3;
    border: 1px solid #fff;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.login-form-caption {
    width: 300px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    font-family: 'Bree Serif', serif;
    font-weight: 300;
    font-size: 28px;
    line-height: 34px;
    color: #414848;
    margin-bottom: 10px;
}

/* Input field */
.login-username-input, .login-password-input {
    width: 250px;
    padding: 15px 25px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #9d9e9e;
    -webkit-text-shadow: 1px 1px 0 rgba(255,255,255,1.0);
    text-shadow: 1px 1px 0 rgba(255,255,255,1.0);
    background: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
    -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

    .login-username-input:hover, .login-password-input:hover {
        background: #dfe9ec;
        color: #414848;
    }

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    width: 400px;
    height: 100px;
}

.editor-label {
    margin: 1em 0 0 0;
}

.editor-field {
    margin: 0.5em 0 0 0;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}
